/**
 * 
 */
package vn.smartware.co.framework.form;

import java.io.Serializable;

import vn.smartware.co.framework.bean.LoginDTO;

/**
 * ActionForm
 * @author thuctt
 */
public abstract class ActionForm implements Serializable {
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -1169010530976581413L;

	/**
	 * APP_NAME
	 */
	private String appName;
	
	/**
	 * actionForm
	 */
	private String actionForm;
	
	/**
	 * actionMethod
	 */
	private String actionMethod;
	
	/**
	 * session
	 */
	private boolean session;
	
	/**
	 * message
	 */
	private String message;
	
	/**
	 * exception
	 */
	private Throwable exception;
	
	/**
	 * status
	 */
	private boolean status = true;
	
	/**
	 * loginDTO
	 */
	private LoginDTO loginDTO;
	
	/**
	 * connectUrl
	 */
	private String connectUrl;

	/**
	 * @return the actionForm
	 */
	public String getActionForm() {
		return this.actionForm;
	}

	/**
	 * @param actionForm the actionForm to set
	 */
	public void setActionForm(String actionForm) {
		this.actionForm = actionForm;
	}

	/**
	 * @return the connectUrl
	 */
	public String getConnectUrl() {
		return this.connectUrl;
	}

	/**
	 * @param connectUrl the connectUrl to set
	 */
	public void setConnectUrl(String connectUrl) {
		this.connectUrl = connectUrl;
	}

	/**
	 * @return the exception
	 */
	public Throwable getException() {
		return this.exception;
	}

	/**
	 * @param exception the exception to set
	 */
	public void setException(Throwable exception) {
		this.exception = exception;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return this.message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the actionMethod
	 */
	public String getActionMethod() {
		return this.actionMethod;
	}

	/**
	 * @param actionMethod the actionMethod to set
	 */
	public void setActionMethod(String actionMethod) {
		this.actionMethod = actionMethod;
	}

	/**
	 * @return the session
	 */
	public boolean isSession() {
		return this.session;
	}

	/**
	 * @param session the session to set
	 */
	public void setSession(boolean session) {
		this.session = session;
	}

	/**
	 * @return the status
	 */
	public boolean isStatus() {
		return this.status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(boolean status) {
		this.status = status;
	}

	/**
	 * @return the loginDTO
	 */
	public LoginDTO getUserDTO() {
		return this.loginDTO;
	}

	/**
	 * @param loginDTO the loginDTO to set
	 */
	public void setUserDTO(LoginDTO loginDTO) {
		this.loginDTO = loginDTO;
	}

	/**
	 * @return the appName
	 */
	public String getAppName() {
		return appName;
	}

	/**
	 * @param appName the appName to set
	 */
	public void setAppName(String appName) {
		this.appName = appName;
	}
	
}
